html,
body {
    height: 100%;
    margin: 0;
}

body {
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei,
        Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

#app {
    height: 100%;
    display: grid;
    grid-template-rows: 50px 1fr;
}

.page-narrow {
    width: 768px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .page-narrow {
        width: auto;
    }
}

img {
    max-width: 100%;
}

pre,
code {
    border-radius: 3px;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

.code-inline {
    border-radius: 3px;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
    background-color: #eee;
    padding: 0 5px;
}